package com.yzy.domain.entity.system;

import com.baomidou.mybatisplus.core.enums.IEnum;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 职能类型
 */
@Getter
@AllArgsConstructor
public enum RoleTypeEnum implements IEnum<Integer>, BaseEnum {
    ADMIN("ADMIN", "超级管理员", "Role", "RoleTypeEnum", "角色管理", "角色类型"),
    OPERATOR("OPERATOR", "操作员", "Role", "RoleTypeEnum", "角色管理", "角色类型"),
    UNAUTHORIZED_ROLE("UNAUTHORIZED_ROLE", "无权限角色", "Role", "RoleTypeEnum", "角色管理", "角色类型"),
    CUSTOM("CUSTOM", "用户自定义角色", "Role", "RoleTypeEnum", "角色管理", "角色类型"),
    ;

    @Override
    public Integer getValue() {
        return this.ordinal();
    }


    private String code;

    private String name;
    //模块
    private String module;
    //类型
    private String type;

    private String moduleRemark;

    private String typeRemark;
}
